#include<stdio.h>
int main()
{
	int a, b, c;
	scanf("%d %d %d", &a, &b, &c);
	int max = a;
	if (a < b) {
		max = b;
	}
    if (b < c) {
		max=c;
	}
	printf("%d\n", max);
	return 0;
}